<template>
    <div class="error" @click="back">
        <!-- <el-button type="primary" @click="back">返回</el-button> -->
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router=useRouter()
const back=()=>{
    router.go(-1)
}
</script>

<style scoped>
.error{
    width: 100%;
    height: 100%;
    background: url('@/assets/img/image.png') no-repeat center center;
}
</style>